package com.pengtu.entity.business.acceptance;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.pengtu.entity.business.BasicPetition;

/**
 * 交工质量验收申请书
 * 
 * @author liuyang
 * 
 */
@Entity
@Table(name = "T_Q_CASE_ACCT_PETITION")
public class AcctPetition extends BasicPetition {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private FlowAcceptance flowAcceptance;// 流程ID

	@ManyToOne(targetEntity = FlowAcceptance.class, fetch = FetchType.LAZY)
	@JoinColumn(name = "FID")
	public FlowAcceptance getFlowAcceptance() {
		return flowAcceptance;
	}
	public void setFlowAcceptance(FlowAcceptance flowAcceptance) {
		this.flowAcceptance = flowAcceptance;
	}
}
